BigList Constructor (IEnumerable)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Creates a new BigList initialized with the items from collection, in order.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public BigList(
	IEnumerable<T> collection
)
Visual Basic (Declaration)
Public Sub New ( _
	collection As IEnumerable(Of T) _
)
Visual C++
public:
BigList (
	IEnumerable<T>^ collection
)

Parameters

collection
IEnumerable<(Of <T>)>
The collection used to initialize the BigList.

Remarks

Initializing the tree list with the elements of collection takes time O(N), where N is the number of items in collection.

Exceptions

ExceptionCondition
System..::ArgumentNullExceptioncollection is null.

See Also